/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.bis.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.bis.entity.BisDispatch;

import java.util.List;

/**
 * 派单管理DAO接口
 * @author Zhangning
 * @version 2019-08-24
 */
@MyBatisDao
public interface BisDispatchDao extends CrudDao<BisDispatch> {

    List<BisDispatch> findListByType(BisDispatch bisDispatch);

    void updateOrderStatus(BisDispatch bisDispatch);

    void updateAssignor(BisDispatch bisDispatch);

    int getCountByStatus(BisDispatch bisDispatch);

    List<BisDispatch> findListBySearch(BisDispatch bisDispatch);

    int getAllCountByStatus(BisDispatch bisDispatch);
}